// 登录相关api
import reqest from "../untils/reqest";

// 获取验证码
export function getSendSmsApi(data) {
  return reqest({
    url: "/agency/login/sendSms",
    method: "POST",
	data
  });
}

// 验证码登录
export function loginByPhoneApi(data) {
  return reqest({
    url: "/agency/login/loginByPhone",
    method: "POST",
	data
  });
}

// 密码登录
export function loginApi(data) {
  return reqest({
    url: "/agency/login/login",
    method: "POST",
	data
  });
}
